package my.spring.aop.aspect;

import my.spring.aop.advice.Advice;
import my.spring.aop.pointcut.Pointcut;

/**
 * 对应AOP概念中Aspect
 * @author fengbo
 * @date 2018/6/30
 */
public interface Advisor {

    /**
     * 获取Advice
     * @return advice
     */
    Advice getAdvice();

    /**
     * 获取Pointcut
     * @return pointcut
     */
    Pointcut getPointcut();
}
